package org.study.tdengine.mybatis.boot.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 作用描述
 *
 * @author doveylovey
 * @version v1.0.0
 * @email 1135782208@qq.com
 * @date 2023年05月13日
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Weather implements Serializable {
    private static final long serialVersionUID = 2893034767929238014L;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
    private Timestamp ts;
    private Integer temperature;
    private Float humidity;
    private String location;
    private String note;
    private Integer groupId;
}
